package PMIRPConstDefs;

/**
 * Generated from IDL union "ScheduleOpt".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class ScheduleOpt
	implements org.omg.CORBA.portable.IDLEntity
{
	private boolean discriminator;
	private PMIRPConstDefs.Schedule value;

	public ScheduleOpt ()
	{
	}

	public boolean discriminator ()
	{
		return discriminator;
	}

	public PMIRPConstDefs.Schedule value ()
	{
		if (discriminator != true)
			throw new org.omg.CORBA.BAD_OPERATION();
		return value;
	}

	public void value (PMIRPConstDefs.Schedule _x)
	{
		discriminator = true;
		value = _x;
	}

	public void __default ()
	{
		discriminator = false;
	}
	public void __default (boolean _discriminator)
	{
		discriminator = _discriminator;
	}
}
